External Data Area Page Links
In version 7.1(18), and later, you can reference pages defined in other data areas to avoid duplicating pages in the script. These can be explicit links to pages with each link defined individually, or you can reference an external central page that is applied to the entire data area.
IMPORTANT: The script must be brought into the project to be referenced for external data area links.
When you are creating an external data area page link, consider the security level and device compatibility of the linked page. If a user does not have access to the target data area, or it is not compatible for the same devices, it does not appear.
The external data area page links bring in the specified page only. Other pages defined in the section block are excluded.
External Page Links
When defining a link to a specific page from an external data area, both the referenced page and the data area in which it is defined require unique identifiers: page area-id specifies the data area page and id specifies the data page in the sections block.
You can link to any page type. Similarly, to link to pages within the same data area, you can dive on the data by including a parameter.
NOTE: When you use an explicit link to a central page, you must include a dimension value parameter.
Here is an example of a report page that links to an external data area report page.
Here is the result of the code with the external data area link in the Cost summary column.
Here is how the linked report page appears in the other data area.
Here is how the linked report page appears after selecting one of the summary values under Cost.
External Central Page Links
Central pages from external data areas behave the same way that central pages defined within a data area do. They automatically generate links related to a specified dimension or dimensions.
IMPORTANT: Ensure that there are not multiple central pages that use the same dimension.
Unlike other link types, external central page links are added to the data-area block with their own unique identifiers: external-central-page id which specifies the data page in the external central page's pages block and the area-id which specifies the external central page.
Here is an example of a report page that includes links to a central page defined in an external data area.
Here is how the code of the initial report page appears in DiveTab.
Here is how the central page appears in the other data area.
Here is how the central page appears after you click on the Corporate Brand ARROWOOD.
NOTE: If the central page includes links to other pages within the pages block, those pages are included automatically.
DI recommends containing central pages within a single script and referencing it using external central page links.
See also: